package com.senlingspace.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.senlingspace.common.annotation.Excel;
import com.senlingspace.common.core.domain.BaseEntity;

/**
 * 商品属性对象 slkj_product_attribute
 *
 * @author 秋意浓
 * @date 2024-10-28
 */
public class SlkjProductAttribute extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 商品属性名称 */
    @Excel(name = "商品属性名称")
    private String attributeName;

    /** 商品属性描述 */
    @Excel(name = "商品属性描述")
    private String attributeDescription;

    /** 删除表示（0代表存在 1代表删除） */
    private String delFlag;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long productId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAttributeName(String attributeName)
    {
        this.attributeName = attributeName;
    }

    public String getAttributeName()
    {
        return attributeName;
    }
    public void setAttributeDescription(String attributeDescription)
    {
        this.attributeDescription = attributeDescription;
    }

    public String getAttributeDescription()
    {
        return attributeDescription;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setProductId(Long productId)
    {
        this.productId = productId;
    }

    public Long getProductId()
    {
        return productId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("attributeName", getAttributeName())
                .append("attributeDescription", getAttributeDescription())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("productId", getProductId())
                .toString();
    }
}

